<template>
  <div class="index">
    <LoginTop/>
    <div class="jh-guid">
      <div class=" hm-bd">
        <span>您当前的位置：</span>
        <a href="javascript:void(0)" @click="$router.push('/index')">首页</a>
        <i>></i>
        <a href="javascript:void(0)" @click="$router.push('/index')">登录</a>
        <i>></i>
        <a href="javascript:void(0)" @click="$router.push('/register')">注册</a>
        <i>></i>
        <a href="javascript:void(0)">手机注册成功</a>
      </div>
    </div>
    <div class="jh-bd">
      <div class="hm-bd jh-con">
        <div class="jh-con-top">
          <div class="jh-c-h">
            <span><img src="../../assets/jh-g.png"></span>
            <span>恭喜您手机注册成功</span>
          </div>
          <div class="jh-hy">欢迎入驻中亿财经网</div>
          <div class="zccg-wszl">
              <button @click="linkToAccount()">完善资料</button>
              <button @click="$router.push('/dashboard/index')">直接进入</button>
            </div>
        </div>
      </div>
    </div>
    <Footer/>
  </div>
</template>
<script>
import $ from 'jquery'
import LoginTop from '@/components/login-top'
import Footer from '@/components/footer'
// import * as api from '@/service/api'
export default {
  title: '用户中心-注册',
  components: {
    LoginTop,
    Footer
  },
  data () {
    return {
      globalThis: null,
      phone: null,
      phoneCode: null,
      password: null,
      email: null,
      emailPassword: null,
      loading: false
    }
  },
  created () {
  },
  mounted () {
    let lis = $('#login-change span')
    $(lis).click(function () {
      $(lis).removeClass('login-c-se')
      $(this).addClass('login-c-se')
    })
    this.globalThis = window
    this.globalThis.registerVerify() // 注册验证
  },
  methods: {
    linkToAccount () {
      this.$store.dispatch('linkToAccount')
    }
  }
}
</script>
<style lang="scss">
.index {
}
</style>
